package org.friut.app.dwz;

import java.io.Serializable;

/**
 * DWZ default result data
 * 
 * @author Tang
 */
public class DwzMessage implements Serializable{

	private static final long serialVersionUID = 1879342345337769844L;
	
	private String rel = "";
	private String message = "";
	private String navTabId = "";
	private String forwardUrl = "";
	private int statusCode = DwzConsts.STATUS_SUCCESS;
	private String callbackType = DwzConsts.TYPE_CALLBACK_STAY; 
	
	public DwzMessage(String message) {
		this.message = message;
	}
	
	public DwzMessage(String message, String navTabId) {
		this.message = message;
		this.navTabId = navTabId;
	}
	
	public DwzMessage(int statusCode, String message) {
		this.statusCode = statusCode;
		this.message = message;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getNavTabId() {
		return navTabId;
	}

	public void setNavTabId(String navTabId) {
		this.navTabId = navTabId;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getCallbackType() {
		return callbackType;
	}

	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}

	public String getForwardUrl() {
		return forwardUrl;
	}

	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}
}
